package com.memory.modules.business.repository.earn;

import com.memory.modules.business.domain.earn.CurDayPrice;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

/**
 * @PackageName: com.memory.modules.business.repository.earn
 * @ClassName: CurDayPriceRepository
 * @Description:
 * @author: zhuguangxun
 * @date 2021/3/11
 */
public interface CurDayPriceRepository extends JpaRepository<CurDayPrice,Long> {
    CurDayPrice findByCreateDate(Date date);

    List<CurDayPrice> findByAccountId(Long id);
}
